package com.songlanyun.modules.account.entity;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.*;
import com.songlanyun.common.drive.RootEntity;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 实名认证
 *
 * @author lijiahe
 * @date 2022-09-22
 */
@Data
@TableName("yxt_user_verified")
@EqualsAndHashCode(callSuper = true)
public class UserVerifiedEntity extends RootEntity<Long, UserVerifiedEntity> implements Serializable {
    private static final long serialVersionUID = 1L;

    {
        this.realName = "";
        this.identityNumber = "";
    }

    /**
     * 会员信息id(对应相同的帐户Id)
     */
    @TableId(type = IdType.INPUT)
    private Long id;

    /**
     * 真实姓名
     */
    private String realName;

    /**
     * 身份证号
     */
    private String identityNumber;

    /**
     * 是否上传快捷支付
     */
    private Boolean uploadKj;

    /**
     * 创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    /**
     * 修改时间
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

    @Override
    public Long getIdentity() {
        return id;
    }
}
